<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>订单管理</title>
    <#include "/include/resource.html"/>
    <script type="application/javascript">
        function removeGoodsType(){

        }
        function gotoGoodTypeEdit(){
                window.location= '${base}/admin/admin_goodType/edit/';
        }
    </script>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <#include "/include/header.html"/>
    <!-- Left side column. contains the logo and sidebar -->
    <#include "/include/main-sidebar.html"/>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                货物类型列表
                <small>货物类型</small>
            </h1>
            <ol class="breadcrumb">
                <li><i class="fa fa-dashboard"></i> 货物类型列表</li>
                <li class="active">货物类型</li>
            </ol>
        </section>

        <!-- Main content -->
        <form id="tableForm" method="post" action="${base}/admin/admin_goodType/list">
            <section class="content">
                <div class="row">
                    <div class="col-md-12">
                        <div class="box">
                            <div class="box-header with-border">
                                <h3 class="box-title">货物类型列表</h3>
                                <button type="button" class="btn btn-block btn-primary btn-sm"
                                        style="display: block;width :60px;float: right;margin-right: 5px" onclick="gotoGoodTypeEdit()">添加</button>
                            </div>
                            <!-- /.box-header -->
                            <div class="box-body">
                                <table class="table table-bordered">
                                    <tr>
                                        <th>SequenceNo</th>
                                        <th>货物Name</th>
                                        <th>规格</th>
                                        <th>起步价</th>
                                        <th>超里程费</th>
                                        <th>起步公里数</th>
                                        <th>ActionList</th>
                                    </tr>
                                    <#if list??&&list?size gt 0>
                                        <#list list as t>
                                            <tr>
                                                <td>${t_index+1}</td>
                                                <td>${(t.name)!""}</td>
                                                <td>${(t.size)!""}</td>
                                                <td>${(t.startPrice)!""}</td>
                                                <td>${(t.unitPrice)!""}</td>
                                                <td>${(t.memo)!""}</td>
                                                <td>

                                                    <div class="btn-group">
                                                        <button type="button" class="btn btn-default">..</button>
                                                        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                                            <span class="caret"></span>
                                                            <span class="sr-only">Toggle Dropdown</span>
                                                        </button>
                                                        <ul class="dropdown-menu" role="menu">
                                                            <li><a href="${base}/admin/admin_goodType/edit?id=${t.id}">edit</a></li>
                                                            <!--
                                                                <li><a href="#" onclick="removeGoodsType(${t.id})">delete</a></li>
                                                            -->

                                                        </ul>
                                                    </div>
                                                </td>
                                            </tr>
                                        </#list>
                                    </#if>
                                </table>
                            </div>
                        <!-- /.box-body -->
                        <@p.pager pageNo=pageNo pageSize=pageSize totalCount=totalCount />
                    </div>
                    <!-- /.box -->
                </div>
    </section>
    </form>
    <!-- /.content -->
</div>
<!-- /.content-wrapper -->
<footer class="main-footer">

</footer>
<div class="control-sidebar-bg"></div>
</div>
<#include "/include/js_footer.html"/>
</body>
</html>
